<script>
	import {onError,onLaunch} from '@dcloudio/uni-app';
	export default {
		onError:function(err)  {
			// 挂载devTools全局报错拦截
			try {uni.$dev.errorReport(err, "at App.vue onError", "oe");} catch (error) {}
		},
		onLaunch: function() {
			// 挂载APP启动日志提交
			 try {uni.$dev.logReport("appOnLaunch>" + JSON.stringify(ctx));} catch (error) {}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}

	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import '@/uni_modules/uni-scss/index.scss';
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';


	// 设置整个项目的背景色
	page {
		background-color: #f5f5f5;
	}

	/* #endif */
	.example-info {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}
</style>